<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<canvas id="mycanvas" width="600px" height="600px"></canvas>
		<script type="text/javascript">
			let mycanvas = document.getElementById('mycanvas');
			let ctx = mycanvas.getContext('2d');
			
			ctx.save();
			ctx.strokeRect(0 , 0 , 10 , 10);
			ctx.restore();
			ctx.scale(2 , 2);
			ctx.strokeRect(0 , 0 , 10 , 10);
			ctx.restore();
			ctx.scale(3 , 3);
			ctx.strokeRect(0 , 0 , 10 , 10);
			ctx.restore();
		</script>
	</body>
</html>
